<%@ page import="org.bjou.CourseRule" %>



<div class="fieldcontain ${hasErrors(bean: courseRuleInstance, field: 'ruleId', 'error')} ">
	<label for="ruleId">
		<g:message code="courseRule.ruleId.label" default="Rule Id" />
		
	</label>
	<g:field type="number" name="ruleId" value="${fieldValue(bean: courseRuleInstance, field: 'ruleId')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: courseRuleInstance, field: 'ruleType', 'error')} ">
	<label for="ruleType">
		<g:message code="courseRule.ruleType.label" default="Rule Type" />
		
	</label>
	<g:textField name="ruleType" value="${courseRuleInstance?.ruleType}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: courseRuleInstance, field: 'majorLevel', 'error')} ">
	<label for="majorLevel">
		<g:message code="courseRule.majorLevel.label" default="Major Level" />
		
	</label>
	<g:textField name="majorLevel" value="${courseRuleInstance?.majorLevel}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: courseRuleInstance, field: 'majorName', 'error')} ">
	<label for="majorName">
		<g:message code="courseRule.majorName.label" default="Major Name" />
		
	</label>
	<g:textField name="majorName" value="${courseRuleInstance?.majorName}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: courseRuleInstance, field: 'ruleCode', 'error')} ">
	<label for="ruleCode">
		<g:message code="courseRule.ruleCode.label" default="Rule Code" />
		
	</label>
	<g:textField name="ruleCode" value="${courseRuleInstance?.ruleCode}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: courseRuleInstance, field: 'ruleSet', 'error')} ">
	<label for="ruleSet">
		<g:message code="courseRule.ruleSet.label" default="Rule Set" />
		
	</label>
	<g:textField name="ruleSet" value="${courseRuleInstance?.ruleSet}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: courseRuleInstance, field: 'ruleYear', 'error')} ">
	<label for="ruleYear">
		<g:message code="courseRule.ruleYear.label" default="Rule Year" />
		
	</label>
	<g:textField name="ruleYear" value="${courseRuleInstance?.ruleYear}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: courseRuleInstance, field: 'ruleSeason', 'error')} ">
	<label for="ruleSeason">
		<g:message code="courseRule.ruleSeason.label" default="Rule Season" />
		
	</label>
	<g:textField name="ruleSeason" value="${courseRuleInstance?.ruleSeason}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: courseRuleInstance, field: 'ruleTerm', 'error')} ">
	<label for="ruleTerm">
		<g:message code="courseRule.ruleTerm.label" default="Rule Term" />
		
	</label>
	<g:textField name="ruleTerm" value="${courseRuleInstance?.ruleTerm}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: courseRuleInstance, field: 'courseTerm', 'error')} ">
	<label for="courseTerm">
		<g:message code="courseRule.courseTerm.label" default="Course Term" />
		
	</label>
	<g:textField name="courseTerm" value="${courseRuleInstance?.courseTerm}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: courseRuleInstance, field: 'currentTerm', 'error')} ">
	<label for="currentTerm">
		<g:message code="courseRule.currentTerm.label" default="Current Term" />
		
	</label>
	<g:textField name="currentTerm" value="${courseRuleInstance?.currentTerm}"/>
</div>

